oof sum is hard, I don't think this is necessarily a bad solution, but I have a vague feeling that it can go way lower than this regardless 